[INFO] cloning repository https://github.com/sabry-awad97/rust-di-examples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sabry-awad97/rust-di-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabry-awad97%2Frust-di-examples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabry-awad97%2Frust-di-examples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ac2047035290b34d186c802f5b52a31b0b7dd765
[INFO] checking sabry-awad97/rust-di-examples against try#b66808126f24f2f30898306a881e1676824ea80c for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabry-awad97%2Frust-di-examples" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sabry-awad97/rust-di-examples
[INFO] finished tweaking git repo https://github.com/sabry-awad97/rust-di-examples
[INFO] tweaked toml for git repo https://github.com/sabry-awad97/rust-di-examples written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sabry-awad97/rust-di-examples on toolchain b66808126f24f2f30898306a881e1676824ea80c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sabry-awad97/rust-di-examples already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c
[INFO] running `Command { std: "docker" "start" "2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c" "/opt/rustwide/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c" "/opt/rustwide/cargo-home/bin/cargo" "+b66808126f24f2f30898306a881e1676824ea80c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking anymap2 v0.13.0
[INFO] [stderr]    Compiling shaku_derive v0.6.1
[INFO] [stderr]     Checking shaku v0.6.2
[INFO] [stderr]     Checking shaku_examples v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `active` is never read
[INFO] [stdout]   --> src/example6_layered_architecture.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct User {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub active: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `user_id` is never read
[INFO] [stdout]   --> src/example6_layered_architecture.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Order {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 75 |     pub id: u32,
[INFO] [stdout] 76 |     pub user_id: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]   --> src/example6_layered_architecture.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | trait UserRepository: Interface {
[INFO] [stdout]    |       -------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 89 |     fn update(&self, user: User) -> Result<(), String>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create` is never used
[INFO] [stdout]    --> src/example6_layered_architecture.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | trait OrderRepository: Interface {
[INFO] [stdout]     |       --------------- method in this trait
[INFO] [stdout] 152 |     fn find_by_user_id(&self, user_id: u32) -> Result<Vec<Order>, String>;
[INFO] [stdout] 153 |     fn create(&self, order: Order) -> Result<u32, String>;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id` and `email` are never read
[INFO] [stdout]   --> src/example8_event_driven.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     UserRegistered {
[INFO] [stdout]    |     -------------- fields in this variant
[INFO] [stdout] 14 |         user_id: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |         email: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order_id`, `user_id`, and `total` are never read
[INFO] [stdout]   --> src/example8_event_driven.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     OrderPlaced {
[INFO] [stdout]    |     ----------- fields in this variant
[INFO] [stdout] 18 |         order_id: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 19 |         user_id: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 20 |         total: f64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `active` is never read
[INFO] [stdout]   --> src/example6_layered_architecture.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct User {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub active: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `user_id` is never read
[INFO] [stdout]   --> src/example6_layered_architecture.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Order {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 75 |     pub id: u32,
[INFO] [stdout] 76 |     pub user_id: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]   --> src/example6_layered_architecture.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | trait UserRepository: Interface {
[INFO] [stdout]    |       -------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 89 |     fn update(&self, user: User) -> Result<(), String>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create` is never used
[INFO] [stdout]    --> src/example6_layered_architecture.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | trait OrderRepository: Interface {
[INFO] [stdout]     |       --------------- method in this trait
[INFO] [stdout] 152 |     fn find_by_user_id(&self, user_id: u32) -> Result<Vec<Order>, String>;
[INFO] [stdout] 153 |     fn create(&self, order: Order) -> Result<u32, String>;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id` and `email` are never read
[INFO] [stdout]   --> src/example8_event_driven.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     UserRegistered {
[INFO] [stdout]    |     -------------- fields in this variant
[INFO] [stdout] 14 |         user_id: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |         email: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order_id`, `user_id`, and `total` are never read
[INFO] [stdout]   --> src/example8_event_driven.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     OrderPlaced {
[INFO] [stdout]    |     ----------- fields in this variant
[INFO] [stdout] 18 |         order_id: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 19 |         user_id: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 20 |         total: f64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Event` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.63s
[INFO] running `Command { std: "docker" "inspect" "2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c", kill_on_drop: false }`
[INFO] [stdout] 2e8a9721a595404c3606d7b7172825340c0195249117dc6a0085c9f54468010c
